class Date {
    int year;
    int month;
    int day;
    public void setDate(Date this,int year,int month,int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }
    public void printDate() {
        System.out.println(year+"年 "+month+"月 "+day+"日 ");
    }
}
public class Demo {
    public static void main(String[] args) {
        System.out.println(this.year);
        
        Date date1 = new Date();
        date1.setDate(2004,3,12);
        date1.printDate();

        Date date2 = new Date();
        date2.setDate(2014,3,12);
        date2.printDate();

        Date date3 = new Date();
        date3.setDate(2024,3,12);
        date3.printDate();

    }

}
